const mutations = {
  setTableBar(state, val) {
    //store.state.tableOutData.push(val)
    console.log(val)
    state.tableOutData.push(val)
    // this.state.tableOutData.push({name: '自定义name', key: 'date', width: '50%'})
  },
  setArrCheckdeBox(state, val) {
    for (let i = 0; i < state.arraryListTemp.length; i++) {
      if (state.arraryListTemp[i].id == val.id) {
        state.arraryListTemp[i].checkBoxText = val
      }
    }
  },
  setCheckedBox(state, val) {
    state.checkBoxText.checkedCities = val
  },
  seTWidgets(state, val) {
    state.widgets = val
  },
  seTWidgetsCheckcity(state, val){
  },
  addCarts(state, val){
    state.carts.push(val)
  }
}

export default mutations
